﻿<Window x:Class="FastAdmin.ListaAlunos"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Loaded="Window_Loaded"
        Title="Lista de Alunos" Height="500" Width="713">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50px"/>
            <RowDefinition />
            <RowDefinition  Height="40px"/>
        </Grid.RowDefinitions>
        <TextBlock Height="50" Margin="10 0 0 0" FontSize="40" FontFamily="Gulim" HorizontalAlignment="Left" Text="Lista de Alunos" VerticalAlignment="Top" Width="298" />
        <DataGrid Grid.Row="1" AutoGenerateColumns="False" x:Name="dgAlunos" Margin="10" IsReadOnly="True" AlternationCount="2" RowBackground="AliceBlue" 
                  AlternatingRowBackground="LightBlue" SelectionMode="Single" MouseDoubleClick="dgAlunos_MouseDoubleClick">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Nome" Binding="{Binding Nome}"/>
                <DataGridTextColumn Header="Telefone" Binding="{Binding Telefone}"/>
                <DataGridTextColumn Header="Celular" Binding="{Binding Celular}"/>
                <DataGridTextColumn Header="Email" Binding="{Binding Email}"/>
            </DataGrid.Columns>
        </DataGrid>
        <Button x:Name="btnDetalhar" Content="Detalhar Aluno" Grid.Row="2" Width="100" HorizontalAlignment="Left" Margin="10 0 0 10" Click="btnDetalhar_Click" />
    </Grid>
</Window>
